TEMPLATE = app
TARGET = CommGWMgr

QT += widgets gui core xml sql network
#project file
include($$PWD/../project.pri)

INCLUDEPATH += \
    tcp \
    include \
    page \
    public \
    Module \

unix{
    CONFIG(release, debug|release): LIBS += -L$$PWD/lib -lLogModule
    CONFIG(debug, debug|release): LIBS += -L$$PWD/lib -lLogModuled
}

CONFIG(release, debug|release):DEPENDPATH += $$PWD/include
else:CONFIG(debug, debug|release):DEPENDPATH += $$PWD/include

HEADERS += \
    include/cmoduleparent.h \
    include/ctag.h \
    include/LogModule.h \
    page/caboutdlg.h \
    page/cclientcfgdlg.h \
    page/cclientpointmng.h \
    page/cclientstate.h \
    page/csysconfig.h \
    page/qmytableview.h \
    public/cclientdata.h \
    public/cglobal.h \
    public/clogoper.h \
    public/cpublicdata.h \
    public/ctagdata.h \
    tcp/cepollservermgr.h \
    tcp/cepollserverthread.h \
    tcp/cepollworkthread.h \
    tcp/qtcpthreadbase.h \
    tcp/tcpstruct.h \
    commgwmgr.h \
    page/ctagmobitordlg.h \
    Module/csyncbaseth.h \
    page/cdrvsyncbasecfg.h \
    public/cpublicfunc.h \
    tcp/cepollclientdatamgr.h

FORMS += \
    page/cclientcfgdlg.ui \
    page/cclientpointmng.ui \
    page/cclientstate.ui \
    page/csysconfig.ui \
    page/qmytableview.ui \
    commgwmgr.ui \
    page/ctagmobitordlg.ui \
    page/cdrvsyncbasecfg.ui

SOURCES += \
    page/caboutdlg.cpp \
    page/cclientcfgdlg.cpp \
    page/cclientpointmng.cpp \
    page/cclientstate.cpp \
    page/qmytableview.cpp \
    public/cclientdata.cpp \
    public/cglobal.cpp \
    public/clogoper.cpp \
    public/cpublicdata.cpp \
    public/ctagdata.cpp \
    tcp/cepollservermgr.cpp \
    tcp/cepollserverthread.cpp \
    tcp/cepollworkthread.cpp \
    tcp/qtcpthreadbase.cpp \
    commgwmgr.cpp \
    main.cpp \
    page/csysconfig.cpp \
    page/ctagmobitordlg.cpp \
    Module/csyncbaseth.cpp \
    page/cdrvsyncbasecfg.cpp \
    public/cpublicfunc.cpp \
    tcp/cepollclientdatamgr.cpp

RESOURCES += \
    CommGWMgr.qrc
